CommonsBooking\Plugin B

Total Complexity 91
Dependencies 36
Dependents 21
Total lines 979
Lines of code 605
Logical lines of code 245
Comment lines 250
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
filterAdminBodyClass()
A
53 10 22
setParentFile()
S
53 7 24
registerScriptsAndStyles()
S
37 2 96
addMenuPages()
S
43 4 58
renderError()
S
49 5 34
getTheContent()
S
62 6 11
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
savePostActions()
S
62 4 11
registerCustomPostTypes()
S
62 4 11
initRoutes()
S
53 3 24
handleBookingForms()
S
57 3 17
init()
S
45 1 40
registerItemTaxonomy()
S
53 2 22
getRoleCapMapping()
S
56 2 21
registerLocationTaxonomy()
S
55 2 20
AddImageSizes()
S
60 2 15
isPostCustomPostType()
S
64 3 10
registerItemTaxonomyMetaboxes()
S
55 1 20
commonsbooking_load_textdomain()
S
64 2 9
maybeEnableCB1UserFields()
S
70 2 6
registerAdminOptions()
S
69 2 6
registerPostStates()
S
72 2 5
addCPTRoleCaps()
S
67 2 8
admin_init()
S
66 2 9
registerUserWidget()
S
81 1 3
getCustomPostTypes()
S
64 1 10
initBookingcodes()
S
74 1 4
deactivation()
S
80 1 3
getCustomPostTypesLabels()
S
64 1 10
getCBManagerCustomPostTypes()
S
66 1 9
registerUserDataErasers()
S
67 1 7
registerUserDataExporters()
S
67 1 7
registerShortcodes()
S
79 1 3
activation()
S
72 1 6